﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ListarServicios.aspx.cs" Inherits="ABC_SA_WEB.Formulario_web13" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"
    Height="148px" Width="800px" CellPadding="4" GridLines="None" ForeColor="#333333">
    <div class= "formListas2">
        <div class="gridStyle2">
            <asp:GridView ID="gvServicios" runat="server" AutoGenerateColumns="False"
                Height="148px" Width="400px" CellPadding="4" GridLines="None" ForeColor="#333333"
                OnRowDeleting="borrarServicios" OnRowCommand="seleccionarServicios">
                
                <AlternatingRowStyle BackColor="White" />

                <Columns>
                    <asp:BoundField DataField="IdServicio" HeaderText="ID Servicio"/>
                    <asp:BoundField DataField="Nombre" HeaderText="Nombre" />
                    <asp:BoundField DataField="Monto" HeaderText="Monto" />
                    <asp:BoundField DataField="Categoria" HeaderText="Categoria" />

                    <asp:CommandField CancelText="Cancelar" EditText="Editar" ButtonType="Image" 
                            DeleteImageUrl="~/Images/delete-18.png" DeleteText="Eliminar" 
                            ShowDeleteButton="True" SelectImageUrl="~/Images/text-edit-4.png" 
                            SelectText="Seleccionar" ShowSelectButton="True" />

                </Columns>

                <EditRowStyle BackColor="#2461BF" />
                <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#EFF3FB" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                <SortedDescendingHeaderStyle BackColor="#4870BE" />

            </asp:GridView>
        </div>
        <div class= "buttonsContenerListar" >
            <asp:Button CssClass="btn"  ID="bttAgregar" runat="server" Text="Agregar" 
                onclick="bttAgregar_Click" />
            <asp:Button CssClass="btn" ID="btnVolver" runat="server" OnClick="btnVolver_Click" Text="Volver" />
        </div>
    </div>
</asp:Content>
